#ifndef LOGMODEL_H
#define LOGMODEL_H

#include "model/singletonbd.h"
#include "model/usermodel.h"

class LogModel
{
public:
    static LogModel *getInstance();

    int InsertLog(QString date, QString configure, QString name, QString log_opera);

    int selectLog(char **&qres, int &row, int &col);
private:
    LogModel();
    static LogModel *instance;
};

#endif // LOGMODEL_H
